<div>
  <div layout="row" ng-hide="showResult.data.length==0">
    <md-input-container class="md-block" layout-padding>
      <label>选择你要查看的文章</label>
      <md-select ng-model="isActive">
        <md-option ng-repeat="article in showResult.data" value={{$index}}>第{{$index+1}}篇文章</md-option>
      </md-select>
    </md-input-container>
    <md-input-container class="md-block" layout-padding>
      <md-checkbox ng-model="flag">
        去掉标签
      </md-checkbox>
    </md-input-container>
  </div>
  <h4>
    {{showResult.info}}
  </h4>
  <ul layout-padding class="article" ng-hide="showResult.data.length==0">
    <li ng-repeat="article in showResult.data" ng-click="expandArticles($index)" ng-class="{true:'active', false:'inactive'}[isActive==$index]">
      <!-- <input type="checkbox" ng-checked=""> -->
      <span class="cross"></span>
      <h4>第{{$index+1}}篇</h4>
      <div class="article">
        <md-table-container>
          <table md-table>
            <tr ng-repeat="i in subsetItems">
              <td width="10%">
                {{i.name}}
              </td>
              <td width="90%">
                <div ng-repeat="record in article['result'][i.name]">
                  {{record.text | ripTag: flag}}
                </div>
              </td>
            </tr>
          </table>
        </md-table-container>

      </div>

    </li>
  </ul>
  <!-- {{input | ripTag: flag }} -->





</div>
